package cn.iocoder.yudao.module.promotion.controller.admin.prizedraw.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 抽奖设置分页 Request VO")
@Data
public class PrizeDrawSettingPageReqVO extends PageParam {

    @Schema(description = "获得抽奖次数方式（1：积分兑换，2：连续签到，3：商城下单）", example = "2")
    private String settingType;

    @Schema(description = "X积分兑换一次")
    private Integer point;

    @Schema(description = "连续签到X天抽奖次数+1")
    private Integer signinNums;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}